package com.cgy.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.cgy.entity.ResStatistics;

public interface ResStatisticsService {
	//资源统计
		Page<ResStatistics> findBynameResStatistics(ResStatistics r,Pageable pageable);
		List<ResStatistics> findAll();
		//根据月份和资源室id修改访问次数
		Integer upCiShu(Integer zid,String month);
		
		//添加和修改 
		ResStatistics addAndUpdateResStatistics(ResStatistics r);
		//删除资源
		Integer deleteResStatistics(Integer rid);
}
